Quality of experience enhancement for wireless networks based on received signal strength at a mobile device

ABSTRACT

Techniques are disclosed for network and/or evaluation and selection based on received signal strength at a device. For example, an received signal strength indicator (RSSI) can be measured (e.g., using Android API or other suitable methods). Then, the measured RSSI level can be compared against a threshold RSSI level, which can be determined on a device-by-device basis. In some embodiments, the RSSI values can assist the network evaluation and selection in certain situations, for example, where WiFi network quality is degraded because of locational movement and not backbone structure, and/or where there are multiple access points (APs) providing WiFi networks under the same SSID and each AP having different effective coverage. Further, in some embodiments, the RSSI values can provide the capabilities of WiFi AP suspension based on MAC addresses. In some embodiments, the RSSI values can be adopted to trigger QoE measurements.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 14/195,795 entitled “QUALITY OF EXPERIENCE ENHANCEMENT FOR WIRELESS NETWORKS BASED ON RECEIVED SIGNAL STRENGTH AT A MOBILE DEVICE” filed Mar. 3, 2014, now U.S. Pat. No. 8,964,595, which is entitled to the benefit of and/or the right of priority to U.S. Provisional Application No. 61/833,630, entitled “QUALITY OF EXPERIENCE ENHANCEMENT FOR WIRELESS NETWORKS BASED ON RECEIVED SIGNAL STRENGTH AT A MOBILE DEVICE” filed Jun. 11, 2013; and U.S. Provisional Patent Application No. 61/832,079, entitled “RADIO OR NETWORK EVALUATION FOR SELECTION BASED ON MEASUREMENTS USING APPLICATION LAYER PROTOCOLS AT A MOBILE DEVICE,” filed on Jun. 6, 2013; all of which are hereby incorporated by reference in their entireties. This application is therefore entitled to an effective filing date of Jun. 11, 2013.

This application is a continuation of U.S. patent application Ser. No. 14/195,758, entitled “RADIO OR NETWORK EVALUATION FOR SELECTION BASED ON MEASUREMENTS USING APPLICATION LAYER PROTOCOLS AT A MOBILE DEVICE,” filed on Mar. 3, 2014, which claims the benefit of U.S. Provisional Patent Application No. 61/832,079, entitled “RADIO OR NETWORK EVALUATION FOR SELECTION BASED ON MEASUREMENTS USING APPLICATION LAYER PROTOCOLS AT A MOBILE DEVICE,” which was filed on Jun. 6, 2013, the contents of which are all incorporated by reference herein.

This application is also related to U.S. patent application Ser. No. 13/784,544, entitled “MOBILE DEVICE WHICH HANDS OVER CONNECTIVITY FROM ONE NETWORK CONNECTION TO ANOTHER NETWORK CONNECTION WITHOUT INTERRUPTION IN APPLICATION DATA FLOW AND METHODS THEREFOR,” now U.S. Pat. No. 8,886,195, filed on Mar. 4, 2013; U.S. patent application Ser. No. 13/784,486 entitled “PROVIDING DATA TO A MOBILE APPLICATION ACCESSIBLE AT A MOBILE DEVICE VIA DIFFERENT NETWORK CONNECTIONS WITHOUT INTERRUPTION,” filed on Mar. 4, 2013; both of which claim the benefit of U.S. Provisional Patent Application No. 61/606,053, entitled “MOBILE BASED SEAMLESS CONNECTIVITY,” which was filed on Mar. 2, 2012; the contents of which are all incorporated by reference herein in their entireties.

BACKGROUND

As WiFi network services become more ubiquitous and accessible, in particular, in both indoor and outdoor environments, integration and utilization of WiFi networks by mobile devices are becoming a mechanism through which network operators can alleviate their data traffic load. In some instances, WLAN based networks such as WiFi networks and services can also provide a mechanism to enhance mobile device performance when used in conjunction with cellular networks and connections.

BRIEF DESCRIPTION OF THE DRAWINGS

The present embodiments are illustrated by way of example and are not intended to be limited by the figures of the accompanying drawings. In the drawings:

FIG. 1A depicts an example diagram of an environment in which the present embodiments may be implemented, the environment including a mobile device which can access different network connections in communicating with remote entities;

FIG. 1B depicts an example diagram of a system where a host server facilitates management of traffic, content caching, and/or resource conservation between mobile devices (e.g., wireless devices), an application server or content provider, or other servers such as an ad server, promotional content server, or an e-coupon server in a wireless network (or broadband network) for resource conservation;

FIG. 1C depicts an example diagram of a proxy and cache system distributed between the host server and device which facilitates network traffic management between a device, an application server or content provider, or other servers such as an ad server, promotional content server, or an e-coupon server for resource conservation and content caching;

FIG. 1D depicts an example diagram of the logical architecture of a distributed proxy and cache system;

FIG. 1E depicts an example diagram showing the architecture of client side components in a distributed proxy and cache system;

FIG. 1F depicts an example diagram of the example components on the server side of the distributed proxy and cache system;

FIG. 2A depicts a diagram illustrating example resources including a network evaluation and selection engine that is implemented as a component of a local-proxy, which may be a part of a distributed caching system that effects network resource conservation and application performance optimization;

FIG. 2B depicts a diagram illustrating example resources including a radio evaluation and selection engine that is implemented as a component of a local-proxy, which may be a part of a distributed caching system that effects network resource conservation and application performance optimization;

FIG. 2C depicts another example diagram illustrating the network evaluation and selection engine of FIG. 2A and the radio evaluation and selection engine of FIG. 2B being implemented in some embodiments where the local-proxy can be optional;

FIG. 3A depicts a functional block diagram illustrating example components of a mobile device including a local proxy having a network evaluation and selection engine;

FIG. 3B depicts an additional example of the network evaluation and selection engine of FIG. 3A which further includes an received signal strength indicator (RSSI) module;

FIG. 4 depicts a diagram illustrating a ping mechanism for parameter measurements which can be used in the network evaluation and selection engine;

FIGS. 5A and 5B respectively depict two network specific quality tables which can be adapted in the network evaluation and selection engine in gauging network quality levels;

FIG. 6A depicts a flow chart illustrating an example flow for network evaluation and selection;

FIG. 6B depicts a flow chart illustrating an example flow for radio evaluation and selection;

FIG. 7 depicts a flow chart of illustrating additional or alternative details of the example flows of FIGS. 6A-6B;

FIGS. 8A and 8B respectively depict some example scenarios where the RSSI module can assist in network evaluation and selection or radio evaluation and selection;

FIG. 9 depicts a flow chart illustrating an example flow for network evaluation and selection or radio evaluation and selection based on/assisted by the RSSI module; and

FIG. 10 shows a diagrammatic representation of a machine in the example form of a computer system within which a set of instructions, for causing the machine to perform any one or more of the methodologies discussed herein, may be executed.

The same reference numbers and any acronyms identify elements or acts with the same or similar structure or functionality throughout the drawings and specification for ease of understanding and convenience.

DETAILED DESCRIPTION

Devices typically have multiple radios to access different networks (e.g., 3G, 4G, LTE, Wi-Fi, Bluetooth, and/or NFC) for data traffic. As such, in one embodiment, quantification of various network signal metrics can be used to select an optimal network such that quality of experience (QoE) can be enhanced for a given user and/or for a given device. Among others, one of the problems solved by the present disclosure is to measure this QoE from Application level (“App”).

In some embodiments, the QoE can be determined on an application by application basis on each mobile device or for each user. The disclosed techniques facilitate measurements, computations, determinations, assessments, evaluations, quantifications or qualification of QoE and/or other suitable measurement of user experience to select the best network or the best radio/protocol (3G, 4G, LTE, Wi-Fi, Bluetooth, NFC) to use for the traffic (e.g., IP traffic) for a given mobile application.

In some embodiments, the QoE is measured from the mobile device side (e.g., a local proxy 175 or 275 of the mobile device), and the present techniques can be implemented or measured at the application level on the mobile device. In general, the techniques disclosed herein require no or little need for system level changes or measurements. One advantage includes reduction of the time it takes to generate or compute a bad or non-representative QoE outcome.

Additional benefits of the presently disclosed techniques include, for example, facilitating decisions in selecting an optimal or a best radio for use (e.g., 3G/4G or Wi-Fi) or an optimal best network (e.g., WiFi networks offered among different access points (APs)), facilitating operator's ability to use the measured metrics for WiFi off loading, and/or facilitating operator's ability to use the measured metrics for retrieving QoE numbers of their mobile networks at different time/locations.

In some embodiments, the present disclosure further include techniques for network evaluation and selection, and more specifically for selecting a network from a number of available networks at a mobile device for communication by a mobile application. Additionally or alternatively, the disclosed techniques can select a radio from a number of available radios at a mobile device for communication.

In one embodiment, a method comprises measuring a set of parameters for each of the available networks using an application layer protocol (e.g., HTTP). Examples of parameters can include, for a given network, the Round-Trip Time (RTT) and/or Packet Loss (PL) parameters or other parameters for the applicable servers. Then, a quality level or an overall quality level for the given networks based on the parameters can be computed or assessed. More specifically, in some embodiments, a statistical parameter of the RTT and/or the PL, for example, a median RTT and an average PL (%) number for each server based on the readings can be calculated. It is noted that median RTT and average PL are example metrics which can be used to assess the quality of experience (QoE) or user experience and the like with an application at a mobile device for a specific network or for a given radio; other suitable mathematical and/or statistical quantifiers can be computed or determined for evaluating quality of experience (QoE) or other types of user experience. Then, with the median RTT and/or the average PL for one or more servers, the quality determination module 234 can assign a specific quality level to the servers, for example, based on a quality table which is specific to the given network or radio.

The method further comprises determining an overall quality level for each of the available networks based on the parameters (e.g., the RSSI level and/or the threshold signal level), and choosing the network based on the overall quality level. In some embodiments, the set of parameters are measured by communicating with each of a plurality of predetermined servers within a respective network. The application layer protocol is able to establish communication with the servers without requiring an administrative privilege of the mobile device, which may be typically required for other applications that utilize lower-level measurements), thereby reducing the time and effort necessary for deployment. Among other advantages, embodiments disclosed herein enable a quantified approach to measuring network signals so as to optimize user experience and a quantified approach to application-level Quality of Experience (QoE) measurements, which can serve as bases for selection of radios for the applications.

In one embodiment, network evaluation and selection can be based on received signal strength at a mobile device (e.g., mobile device 150, 250, 350). For example, a received signal strength indicator (RSSI) can be measured (e.g., using Android API or other suitable methods via another mobile platform or external to any mobile platform, e.g., via the local proxy 175, 275 or 375). Then, the measured RSSI level, or other signal strength indicators, can be compared against a threshold RSSI level, which can, in one embodiment, be determined on a device-by-device basis. Then, according to the techniques described in more details below, the RSSI values can assist the network evaluation and selection module evaluation and selection module in certain situations. For example, the disclosed techniques can be helpful where WiFi network quality is degraded due to locational movement of the user of the mobile device or the mobile device rather than due to failure of the backbone architecture, and/or where there are multiple access points (APs) providing WiFi networks under the same service set identifier (SSID) and each AP has a different effective coverage. Further, in some embodiments, the RSSI values can provide the evaluation or selection engine with the capabilities or data to facilitate the decisions for WiFi AP suspension based on MAC addresses. In some embodiments, the RSSI values or other signal strength indicators can be adopted to trigger QoE measurements.

The following description and drawings are illustrative and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding of the disclosure. However, in certain instances, well-known or conventional details are not described in order to avoid obscuring the description. References to “one embodiment” or “an embodiment” in the present disclosure can be, but not necessarily are, references to the same embodiment and such references mean at least one of the embodiments.

Reference in this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosure. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Moreover, various features are described which may be exhibited by some embodiments and not by others. Similarly, various requirements are described which may be requirements for some embodiments but not other embodiments.

The terms used in this specification generally have their ordinary meanings in the art, within the context of the disclosure, and in the specific context where each term is used. Certain terms that are used to describe the disclosure are discussed below, or elsewhere in the specification, to provide additional guidance to the practitioner regarding the description of the disclosure. For convenience, certain terms may be highlighted, for example using italics and/or quotation marks. The use of highlighting has no influence on the scope and meaning of a term; the scope and meaning of a term is the same, in the same context, whether or not it is highlighted. It will be appreciated that same thing can be said in more than one way.

Consequently, alternative language and synonyms may be used for any one or more of the terms discussed herein, nor is any special significance to be placed upon whether or not a term is elaborated or discussed herein. Synonyms for certain terms are provided. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification, including examples of any terms discussed herein, is illustrative only, and is not intended to further limit the scope and meaning of the disclosure or of any exemplified term. Likewise, the disclosure is not limited to various embodiments given in this specification.

Without intent to limit the scope of the disclosure, examples of instruments, apparatus, methods and their related results according to the embodiments of the present disclosure are given below. Note that titles or subtitles may be used in the examples for convenience of a reader, which in no way should limit the scope of the disclosure. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. In the case of conflict, the present document, including definitions, will control.

FIG. 1A depicts an example diagram of an environment in which the present embodiments may be implemented. The depicted environment includes a mobile device 150 which can access different network connections (e.g., network 106 and other networks 108A-N) in communicating with remote entities such as a remote application server or content provider 110 and/or advertisement servers 120A-N. The networks 106 (e.g., a cellular network) and 108A-N (e.g., a WLAN/WiFi network) can form and/or connect to a larger network 10 (e.g., the Internet), which is connected to (either directly or indirectly) the servers 110 and 120A-N for communication.

In general, the network 10 over which the client devices 150, and/or application server 110 communicate, may include a cellular network (e.g., network 106), a telephonic network, a broadband network (e.g., networks 108A-N), an open network such as the Internet, or a private network such as an intranet and/or the extranet, or any combination thereof.

In general, signals received or detected indicating user activity at client devices 150 through one or more input mechanisms (described below), or others, can be used in the disclosed technique(s) in obtaining context awareness at the client device 150. Context awareness at client devices 150 generally includes, by way of example but not limitation, client device 150 operation or state acknowledgement, management, user activity/behavior/interaction awareness, detection, sensing, tracking, and/or application (e.g., mobile applications) type, behavior, activity, operating state, etc. In some embodiments, contextual data can be collected for use in managing, evaluating, and/or selecting multi-network situations at a mobile device 150.

Context awareness in the present disclosure also includes knowledge and detection of network side contextual data and can include network information such as network capacity, bandwidth, traffic, type of network/connectivity, and/or any other operational state data. Network side contextual data can be received from and/or queried from network service providers (e.g., cellular network provider 112 and/or Internet service providers) of the network 106 and/or network 108A-N (e.g., by the host server and/or devices 150). In addition to application context awareness as determined from the client 150 side, the application context awareness may also be received from or obtained/queried from the respective application/service providers 110 (by the host 100 and/or client devices 150).

The mobile device 150 can include, in some embodiments, a local proxy 175, and optionally, a local cache 185 that provides network optimization and resource conservation functionalities. The local proxy 175 can be a part of a proxy and cache system distributed between a host server 100 and device 150 which facilitates network traffic management, network resource optimization and conservation, content caching, and/or mobile application performance optimization between the device 150 and an application server or content provider 110, or other servers such as an ad server 120A, promotional content server 120B, or an e-coupon server 120C. An example of such proxy system distributed among the host server 100 and the device 150 (or “a distributed proxy and/or caching system”) is described in U.S. patent application Ser. No. 13/178,598, titled “CONTEXT AWARE TRAFFIC MANAGEMENT FOR RESOURCE CONSERVATION IN A WIRELESS NETWORK,” filed Jul. 8, 2011, which is assigned to the present assignee and incorporated herein by reference in its entirety. As further described in the following sections, the proxy system (e.g., local proxy 175) can further implement network evaluation and selection techniques disclosed herein.

In general, the proxy and cache system distributed between the host server 100 and device 150 facilitates network traffic management between the device 150 and an application server or content provider 110, or other servers such as an ad server 120A, promotional content server 120B, or an e-coupon server 120C for resource conservation and content caching. The proxy system distributed among the host server 100 and the device 150 can further track alarms, timers or other triggers implemented by applications on a device and resources used by such alarms, timers, or other triggers to determine associations using which the proxy system can manipulate the alarms, timers or other triggers to occur at an optimal time to reduce resource usage.

The distributed proxy and cache system can include, for example, the proxy server 125 (e.g., remote proxy) and the server cache, 135 components on the server side. The server-side proxy 125 and cache 135 can, as illustrated, reside internal to the host server 100. In addition, the proxy server 125 and cache 135 on the server-side can be partially or wholly external to the host server 100 and in communication via one or more of the networks 106 and 108. For example, the proxy server 125 may be external to the host server and the server cache 135 may be maintained at the host server 100. Alternatively, the proxy server 125 may be within the host server 100 while the server cache is external to the host server 100. In addition, each of the proxy server 125 and the cache 135 may be partially internal to the host server 100 and partially external to the host server 100. The application server/content provider 110 can by any server including third party servers or service/content providers further including advertisement, promotional content, publication, or electronic coupon servers or services. Similarly, separate advertisement servers 120A, promotional content servers 120B, and/or e-Coupon servers 120C as application servers or content providers are illustrated by way of example.

The distributed system can also, include, in one embodiment, client-side components, including by way of example but not limitation, a local proxy 175 (e.g., a mobile client on a mobile device) and/or a local cache 185, which can, as illustrated, reside internal to the device 150 (e.g., a mobile device).

In addition, the client-side proxy 175 and local cache 185 can be partially or wholly external to the device 150 and in communication via one or more of the networks 106 and 108. For example, the local proxy 175 may be external to the device 150 and the local cache 185 may be maintained at the device 150. Alternatively, the local proxy 175 may be within the device 150 while the local cache 185 is external to the device 150. In addition, each of the proxy 175 and the cache 185 may be partially internal to the host server 100 and partially external to the host server 100.

In context aware traffic management and optimization for resource conservation in a network (e.g., cellular or other wireless networks), characteristics of user activity/behavior and/or application behavior at mobile device (e.g., any wireless device) 150 can be tracked by the local proxy 175, over the network 10 to a proxy server component 125 in the host server 100 of the distributed proxy and caching system. The local proxy 175 can also identify and retrieve mobile device properties, including one or more of, battery level, network that the device is registered on, radio state, or whether the mobile device is being used (e.g., interacted with by a user). In some instances, the local proxy 175 can delay, expedite (prefetch), and/or modify data prior to transmission when appropriate. Further, the local proxy 175 is generally transparent to the operating system or platform of the mobile device and may or may not be specific to device manufacturers. In some instances, the local proxy 175 is optionally customizable in part or in whole to be device specific. In some embodiments, the local proxy 175 may be bundled into a wireless model, a firewall, and/or a router.

In general, the distributed proxy and cache system allows optimization of network usage, for example, by serving requests from the local cache 185, the local proxy 175 reduces the number of requests that need to be satisfied over the network 106. Further, the local proxy 175 and the proxy server 125 may filter irrelevant data from the communicated data. In addition, the local proxy 175 (e.g., in conjunction with proxy server) can also accumulate low priority data and send it in batches to avoid the protocol overhead of sending individual data fragments. The local proxy 175 and the proxy server 125 can also compress or transcode the traffic, reducing the amount of data sent over the network 106 and/or 108. The signaling traffic in the networks 106 and/or 108A-N can be reduced, as the networks are now used less often and the network traffic can be synchronized among individual applications.

Contextual information obtained from client/mobile devices 150, networks 106/108, applications (e.g., mobile applications), application server/provider 110, or any combination of the above, can be used to manage the traffic in the system to satisfy data needs of the client devices 150 (e.g., to satisfy application or any other request including HTTP request).

In one embodiment, the traffic is managed to satisfy data requests made in response to explicit or non-explicit user 103 requests and/or device/application maintenance tasks. As disclosed in the related U.S. patent application Ser. No. 13/784,486, the traffic can be managed such that network consumption (e.g., use of the cellular network) is conserved for effective and efficient bandwidth utilization through handovers or effective utilization of multiple networks at a mobile device 150. In addition, the device 150 side resources (e.g., including but not limited to battery power consumption, radio use, processor/memory use) can be optimized with a general philosophy for resource conservation while still optimizing performance and user experience through the disclosed management of providing data to mobile applications utilizing selection among multiple radios and/or utilizing different network connections and managing handover situations from one network to another network.

FIG. 1B illustrates an example diagram of a system where a host server 100 facilitates management of traffic, content caching, and/or resource conservation between mobile devices (e.g., wireless devices 150), and an application server or content provider 110, or other servers such as an ad server 120A, promotional content server 120B, or an e-coupon server 120C in a wireless network (or broadband network) for resource conservation. The host server can further interact with mobile or client devices 150 for getting reports and/or updates on resource usage, savings, and the like.

The mobile device 150 can be any system and/or device, and/or any combination of devices/systems that is able to establish a connection, including wired, wireless, cellular connections with another device, a server and/or other systems such as host server 100 and/or application server/content provider 110. Client devices 150 will typically include a display and/or other output functionalities to present information and data exchanged between among the devices 150 and/or the host server 100 and/or application server/content provider 110. The application server/content provider 110 can by any server including third party servers or service/content providers further including advertisement, promotional content, publication, or electronic coupon servers or services. Similarly, separate advertisement servers 120A, promotional content servers 120B, and/or e-Coupon servers 120C as application servers or content providers are illustrated by way of example.

For example, the client devices 150 can include mobile, hand held or portable devices, wireless devices, or non-portable devices and can be any of, but not limited to, a server desktop, a desktop computer, a computer cluster, or portable devices, including a notebook, a laptop computer, a handheld computer, a palmtop computer, a mobile phone, a cell phone, a smart phone, a PDA, a Blackberry device, a Palm device, a handheld tablet (e.g., an iPad or any other tablet), a hand held console, a hand held gaming device or console, any SuperPhone such as the iPhone, and/or any other portable, mobile, hand held devices, or fixed wireless interface such as a M2M device, etc. In one embodiment, the client devices 150, host server 100, and application server 110 are coupled via a network 106 and/or a network 108. In some embodiments, the devices 150 and host server 100 may be directly connected to one another.

The input mechanism on client devices 150 can include touch screen keypad (including single touch, multi-touch, gesture sensing in 2D or 3D, etc.), a physical keypad, a mouse, a pointer, a track pad, motion detector (e.g., including 1-axis, 2-axis, 3-axis accelerometer, etc.), a light sensor, capacitance sensor, resistance sensor, temperature sensor, proximity sensor, a piezoelectric device, device orientation detector (e.g., electronic compass, tilt sensor, rotation sensor, gyroscope, accelerometer), or a combination of the above.

Signals received or detected indicating user activity at client devices 150 through one or more of the above input mechanism, or others, can be used in the disclosed technology in acquiring context awareness at the client device 150. Context awareness at client devices 150 generally includes, by way of example but not limitation, client device 150 operation or state acknowledgement, management, user activity/behavior/interaction awareness, detection, sensing, tracking, trending, and/or application (e.g., mobile applications) type, behavior, activity, operating state, etc.

Context awareness in the present disclosure also includes knowledge and detection of network side contextual data and can include network information such as network capacity, bandwidth, traffic, type of network/connectivity, and/or any other operational state data. Network side contextual data can be received from and/or queried from network service providers (e.g., cell provider 112 and/or Internet service providers) of the network 106 and/or network 108 (e.g., by the host server and/or devices 150). In addition to application context awareness as determined from the client 150 side, the application context awareness may also be received from or obtained/queried from the respective application/service providers 110 (by the host 100 and/or client devices 150).

The host server 100 can use, for example, contextual information obtained for client devices 150, networks 106/108, applications (e.g., mobile applications), application server/provider 110, or any combination of the above, to manage the traffic in the system to satisfy data needs of the client devices 150 (e.g., to satisfy application or any other request including HTTP request). In one embodiment, the traffic is managed by the host server 100 to satisfy data requests made in response to explicit or non-explicit user 103 requests and/or device/application maintenance tasks. The traffic can be managed such that network consumption, for example, use of the cellular network is conserved for effective and efficient bandwidth utilization. In addition, the host server 100 can manage and coordinate such traffic in the system such that use of device 150 side resources (e.g., including but not limited to battery power consumption, radio use, processor/memory use) are optimized with a general philosophy for resource conservation while still optimizing performance and user experience.

For example, in context of battery conservation, the device 150 can observe user activity (for example, by observing user keystrokes, backlight status, or other signals via one or more input mechanisms, etc.) and alters device 150 behaviors. The device 150 can also request the host server 100 to alter the behavior for network resource consumption based on user activity or behavior.

In one embodiment, the traffic management for resource conservation is performed using a distributed system between the host server 100 and client device 150. The distributed system can include proxy server and cache components on the server side 100 and on the device/client side, for example, as shown by the server cache 135 on the server 100 side and the local cache 185 on the client 150 side.

Functions and techniques disclosed for context aware traffic management for resource conservation in networks (e.g., network 106 and/or 108) and devices 150, can reside in a distributed proxy and cache system. The proxy and cache system can be distributed between, and reside on, a given client device 150 in part or in whole and/or host server 100 in part or in whole. The distributed proxy and cache system are illustrated with further reference to the example diagram shown in FIG. 1C.

In one embodiment, client devices 150 communicate with the host server 100 and/or the application server 110 over network 106, which can be a cellular network and/or a broadband network. To facilitate overall traffic management between devices 150 and various application servers/content providers 110 to implement network (bandwidth utilization) and device resource (e.g., battery consumption), the host server 100 can communicate with the application server/providers 110 over the network 108, which can include the Internet (e.g., a broadband network).

In general, the networks 106 and/or 108, over which the client devices 150, the host server 100, and/or application server 110 communicate, may be a cellular network, a broadband network, a telephonic network, an open network, such as the Internet, or a private network, such as an intranet and/or the extranet, or any combination thereof. For example, the Internet can provide file transfer, remote log in, email, news, RSS, cloud-based services, instant messaging, visual voicemail, push mail, VoIP, and other services through any known or convenient protocol, such as, but is not limited to the TCP/IP protocol, UDP, HTTP, DNS, FTP, UPnP, NSF, ISDN, PDH, RS-232, SDH, SONET, etc.

The networks 106 and/or 108 can be any collection of distinct networks operating wholly or partially in conjunction to provide connectivity to the client devices 150 and the host server 100 and may appear as one or more networks to the serviced systems and devices. In one embodiment, communications to and from the client devices 150 can be achieved by, an open network, such as the Internet, or a private network, broadband network, such as an intranet and/or the extranet. In one embodiment, communications can be achieved by a secure communications protocol, such as secure sockets layer (SSL), or transport layer security (TLS).

In addition, communications can be achieved via one or more networks, such as, but are not limited to, one or more of WiMax, a Local Area Network (LAN), Wireless Local Area Network (WLAN), a Personal area network (PAN), a Campus area network (CAN), a Metropolitan area network (MAN), a Wide area network (WAN), a Wireless wide area network (WWAN), or any broadband network, and further enabled with technologies such as, by way of example, Global System for Mobile Communications (GSM), Personal Communications Service (PCS), Bluetooth, WiFi, Fixed Wireless Data, 2G, 2.5G, 3G, 4G, IMT-Advanced, pre-4G, LTE Advanced, mobile WiMax, WiMax 2, WirelessMAN-Advanced networks, enhanced data rates for GSM evolution (EDGE), General packet radio service (GPRS), enhanced GPRS, iBurst, UMTS, HSPDA, HSUPA, HSPA, UMTS-TDD, 1xRTT, EV-DO, messaging protocols such as, TCP/IP, SMS, MMS, extensible messaging and presence protocol (XMPP), real time messaging protocol (RTMP), instant messaging and presence protocol (IMPP), instant messaging, USSD, IRC, or any other wireless data networks, broadband networks, or messaging protocols.

FIG. 1C illustrates an example diagram of a proxy and cache system distributed between the host server 100 and device 150 which facilitates network traffic management between the device 150 and an application server or content provider 110, or other servers such as an ad server 120A, promotional content server 120B, or an e-coupon server 120C for resource conservation and content caching The proxy system distributed among the host server 100 and the device 150 can further track alarms, timers or other triggers implemented by applications on a device and resources used by such alarms, timers, or other triggers to determine associations using which the proxy system can manipulate the alarms, timers or other triggers to occur at an optimal time to reduce resource usage.

The distributed proxy and cache system can include, for example, the proxy server 125 (e.g., remote proxy) and the server cache, 135 components on the server side. The server-side proxy 125 and cache 135 can, as illustrated, reside internal to the host server 100. In addition, the proxy server 125 and cache 135 on the server-side can be partially or wholly external to the host server 100 and in communication via one or more of the networks 106 and 108. For example, the proxy server 125 may be external to the host server and the server cache 135 may be maintained at the host server 100. Alternatively, the proxy server 125 may be within the host server 100 while the server cache is external to the host server 100. In addition, each of the proxy server 125 and the cache 135 may be partially internal to the host server 100 and partially external to the host server 100. The application server/content provider 110 can by any server including third party servers or service/content providers further including advertisement, promotional content, publication, or electronic coupon servers or services. Similarly, separate advertisement servers 120A, promotional content servers 120B, and/or e-Coupon servers 120C as application servers or content providers are illustrated by way of example.

The distributed system can also, include, in one embodiment, client-side components, including by way of example but not limitation, a local proxy 175 (e.g., a mobile client on a mobile device) and/or a local cache 185, which can, as illustrated, reside internal to the device 150 (e.g., a mobile device).

In addition, the client-side proxy 175 and local cache 185 can be partially or wholly external to the device 150 and in communication via one or more of the networks 106 and 108. For example, the local proxy 175 may be external to the device 150 and the local cache 185 may be maintained at the device 150. Alternatively, the local proxy 175 may be within the device 150 while the local cache 185 is external to the device 150. In addition, each of the proxy 175 and the cache 185 may be partially internal to the host server 100 and partially external to the host server 100.

In one embodiment, the distributed system can include an optional caching proxy server 199. The caching proxy server 199 can be a component which is operated by the application server/content provider 110, the host server 100, or a network service provider 112, and or any combination of the above to facilitate network traffic management for network and device resource conservation. Proxy server 199 can be used, for example, for caching content to be provided to the device 150, for example, from one or more of, the application server/provider 110, host server 100, and/or a network service provider 112. Content caching can also be entirely or partially performed by the remote proxy 125 to satisfy application requests or other data requests at the device 150.

In context aware traffic management and optimization for resource conservation in a network (e.g., cellular or other wireless networks), characteristics of user activity/behavior and/or application behavior at a mobile device (e.g., any wireless device) 150 can be tracked by the local proxy 175 and communicated, over the network 106 to the proxy server 125 component in the host server 100, for example, as connection metadata. The proxy server 125 which in turn is coupled to the application server/provider 110 provides content and data to satisfy requests made at the device 150.

In addition, the local proxy 175 can identify and retrieve mobile device properties, including one or more of, battery level, network that the device is registered on, radio state, or whether the mobile device is being used (e.g., interacted with by a user). In some instances, the local proxy 175 can delay, expedite (prefetch), and/or modify data prior to transmission to the proxy server 125, when appropriate.

The local database 185 can be included in the local proxy 175 or coupled to the local proxy 175 and can be queried for a locally stored response to the data request prior to the data request being forwarded on to the proxy server 125. Locally cached responses can be used by the local proxy 175 to satisfy certain application requests of the mobile device 150, by retrieving cached content stored in the cache storage 185, when the cached content is still valid.

Similarly, the proxy server 125 of the host server 100 can also delay, expedite, or modify data from the local proxy prior to transmission to the content sources (e.g., the application server/content provider 110). In addition, the proxy server 125 uses device properties and connection metadata to generate rules for satisfying request of applications on the mobile device 150. The proxy server 125 can gather real time traffic information about requests of applications for later use in optimizing similar connections with the mobile device 150 or other mobile devices.

In general, the local proxy 175 and the proxy server 125 are transparent to the multiple applications executing on the mobile device. The local proxy 175 is generally transparent to the operating system or platform of the mobile device and may or may not be specific to device manufacturers. In some instances, the local proxy 175 is optionally customizable in part or in whole to be device specific. In some embodiments, the local proxy 175 may be bundled into a wireless model, a firewall, and/or a router.

In one embodiment, the host server 100 can in some instances, utilize the store and forward functions of a short message service center (SMSC) 112, such as that provided by the network service provider, in communicating with the device 150 in achieving network traffic management. Note that 112 can also utilize any other type of alternative channel including USSD or other network control mechanisms. The host server 100 can forward content or HTTP responses to the SMSC 112 such that it is automatically forwarded to the device 150 if available, and for subsequent forwarding if the device 150 is not currently available.

In general, the disclosed distributed proxy and cache system allows optimization of network usage, for example, by serving requests from the local cache 185, the local proxy 175 reduces the number of requests that need to be satisfied over the network 106. Further, the local proxy 175 and the proxy server 125 may filter irrelevant data from the communicated data. In addition, the local proxy 175 and the proxy server 125 can also accumulate low priority data and send it in batches to avoid the protocol overhead of sending individual data fragments. The local proxy 175 and the proxy server 125 can also compress or transcode the traffic, reducing the amount of data sent over the network 106 and/or 108. The signaling traffic in the network 106 and/or 108 can be reduced, as the networks are now used less often and the network traffic can be synchronized among individual applications.

With respect to the battery life of the mobile device 150, by serving application or content requests from the local cache 185, the local proxy 175 can reduce the number of times the radio module is powered up. The local proxy 175 and the proxy server 125 can work in conjunction to accumulate low priority data and send it in batches to reduce the number of times and/or amount of time when the radio is powered up. The local proxy 175 can synchronize the network use by performing the batched data transfer for all connections simultaneously.

FIG. 1D illustrates an example diagram of the logical architecture of a distributed proxy and cache system.

The distributed system can include, for example the following components:

Client Side Proxy 175: a component installed in the Smartphone, mobile device or wireless device 150 that interfaces with device's operating system, as well as with data services and applications installed in the device. The client side proxy 175 is typically compliant with and able to operate with standard or state of the art networking protocols.

The server side proxy 125 can include one or more servers that can interface with third party application servers (e.g., 199), mobile operator's network (which can be proxy 199 or an additional server that is not illustrated) and/or the client side proxy 175. In general, the server side proxy 125 can be compliant with and is generally able to operate with standard or state of the art networking protocols and/or specifications for interacting with mobile network elements and/or third party servers.

Reporting and Usage Analytics Server 174: The Reporting and Usage Analytics system or component 174 can collect information from the client side 175 and/or the server side 125 and provides the necessary tools for producing reports and usage analytics can used for analyzing traffic and signaling data. Such analytics can be used by the proxy system in managing/reducing network traffic or by the network operator in monitoring their networks for possible improvements and enhancements. Note that the reporting and usage analytics system/component 174 as illustrated, may be a server separate from the server-side proxy 125, or it may be a component of the server-side proxy 125, residing partially or wholly therein.

FIG. 1E illustrates an example diagram showing the architecture of client side components in a distributed proxy and cache system.

The client side components 175 can include software components or agents installed on the mobile device that enables traffic optimization and performs the related functionalities on the client side. Components of the client side proxy 175 can operate transparently for end users and applications 163. The client side proxy 175 can be installed on mobile devices for optimization to take place, and it can effectuate changes on the data routes. Once data routing is modified, the client side proxy 175 can respond to application requests to service providers or host servers, in addition to or instead of letting those applications 163 access data network directly. In general, applications 163 on the mobile device will not notice that the client side proxy 175 is responding to their requests. Some example components of the client side proxy 175 are described as follows:

Device State Monitor 121: The device state monitor 121 can be responsible for identifying several states and metrics in the device, such as network status, display status, battery level, etc. such that the remaining components in the client side proxy 175 can operate and make decisions according to device state, acting in an optimal way in each state.

Traffic Recognizer 122: The traffic recognizer 122 analyzes all traffic between the wireless device applications 163 and their respective host servers in order to identify recurrent patterns. Supported transport protocols include, for example, DNS, HTTP and HTTPS, such that traffic through those ports is directed to the client side proxy 175. While analyzing traffic, the client side proxy 175 can identify recurring polling patterns which can be candidates to be performed remotely by the server side proxy 125, and send to the protocol optimizer 123.

Protocol Optimizer 123: The protocol optimizer 123 can implement the logic of serving recurrent request from the local cache 185 instead of allowing those request go over the network to the service provider/application host server. One is its tasks is to eliminate or minimize the need to send requests to the network, positively affecting network congestion and device battery life.

Local Cache 185: The local cache 185 can store responses to recurrent requests, and can be used by the Protocol Optimizer 123 to send responses to the applications 163.

Traffic Scheduler 124: The traffic scheduler 124 can temporally move communications to optimize usage of device resources by unifying keep-alive signaling so that some or all of the different applications 163 can send keep-alive messages at the same time (traffic pipelining) Traffic scheduler 124 may also decide to delay transmission of data that is not relevant at a given time (for example, when the device is not actively used).

Policy Manager 125: The policy manager 125 can store and enforce traffic optimization and reporting policies provisioned by a Policy Management Server (PMS). At the client side proxy 175 first start, traffic optimization and reporting policies (policy profiles) that is to be enforced in a particular device can be provisioned by the Policy Management Server.

Watch Dog 127: The watch dog 127 can monitor the client side proxy 175 operating availability. In case the client side proxy 175 is not working due to a failure or because it has been disabled, the watchdog 127 can reset DNS routing rules information and can restore original DNS settings for the device to continue working until the client side proxy 175 service is restored.

Reporting Agent 126: The reporting agent 126 can gather information about the events taking place in the device and sends the information to the Reporting Server. Event details are stored temporarily in the device and transferred to reporting server only when the data channel state is active. If the client side proxy 175 doesn't send records within twenty-four hours, the reporting agent 126 may attempt to open the connection and send recorded entries or, in case there are no entries in storage, an empty reporting packet. All reporting settings are configured in the policy management server.

Push Client 128: The push client 128 can be responsible for the traffic to between the server side proxy 125 and the client side proxy 175. The push client 128 can send out service requests like content update requests and policy update requests, and receives updates to those requests from the server side proxy 125. In addition, push client 128 can send data to a reporting server (e.g., the reporting and/or usage analytics system which may be internal to or external to the server side proxy 125).

The proxy server 199 has a wide variety of uses, from speeding up a web server by caching repeated requests, to caching web, DNS and other network lookups for a group of clients sharing network resources. The proxy server 199 is optional. The distributed proxy and cache system (125 and/or 175) allows for a flexible proxy configuration using either the proxy 199, additional proxy(s) in operator's network, or integrating both proxies 199 and an operator's or other third-party's proxy.

FIG. 1F illustrates a diagram of the example components on the server side of the distributed proxy and cache system.

The server side 125 of the distributed system can include, for example a relay server 142, which interacts with a traffic harmonizer 144, a polling server 145 and/or a policy management server 143. Each of the various components can communicate with the client side proxy 175, or other third party (e.g., application server/service provider 110 and/or other proxy 199) and/or a reporting and usage analytics system. Some example components of the server side proxy 125 is described as follows:

Relay Server 142: The relay server 142 is the routing agent in the distributed proxy architecture. The relay server 142 manages connections and communications with components on the client-side proxy 175 installed on devices and provides an administrative interface for reports, provisioning, platform setup, and so on.

Notification Server 141: The notification server 141 is a module able to connect to an operator's SMSC gateways and deliver SMS notifications to the client-side proxy 175. SMS notifications can be used when an IP link is not currently active, in order to avoid the client-side proxy 175 from activating a connection over the wireless data channel, thus avoiding additional signaling traffic. However, if the IP connection happens to be open for some other traffic, the notification server 141 can use it for sending the notifications to the client-side proxy 175. The user database can store operational data including endpoint (MSISDN), organization and Notification server 141 gateway for each resource (URIs or URLs).

Traffic Harmonizer 144: The traffic harmonizer 144 can be responsible for communication between the client-side proxy 175 and the polling server 145. The traffic harmonizer 144 connects to the polling server 145 directly or through the data storage 130, and to the client over any open or proprietary protocol such as the 7TP, implemented for traffic optimization. The traffic harmonizer 144 can be also responsible for traffic pipelining on the server side: if there's cached content in the database for the same client, this can be sent over to the client in one message.

Polling Server 145: The polling server 145 can poll third party application servers on behalf of applications that are being optimized). If a change occurs (i.e. new data available) for an application, the polling server 145 can report to the traffic harmonizer 144 which in turn sends a notification message to the client-side proxy 175 for it to clear the cache and allow application to poll application server directly.

Policy Management Server 143: The policy management server (PMS) 143 allows administrators to configure and store policies for the client-side proxies 175 (device clients). It also allows administrators to notify the client-side proxies 175 about policy changes. Using the policy management server 143, each operator can configure the policies to work in the most efficient way for the unique characteristics of each particular mobile operator's network.

Reporting and Usage Analytics Component: The Reporting and Usage Analytics component or system collects information from the client side 175 and/or from the server side 125, and provides the tools for producing reports and usage analytics that operators can use for analyzing application signaling and data consumption.

Most mobile applications regularly poll their application servers to check for new data. Often there is no new data or the content has not changed, so the exchange of data through the mobile network is unnecessary. As the number of mobile phones and their applications increase, the amount of this needless polling grows. Since applications are not coordinated and poll at different times and intervals, any given phone may frequently generate signal traffic. This causes multiple unnecessary radio activations, consuming power and shortening battery life.

In one embodiment, the signaling optimizer reduces network requests to a minimum by caching content in the client and letting its own server poll for changes in the network. When a mobile phone's client side proxy (e.g., local proxy) 175 detects a recurring pattern for a resource, such as an email application, its response content is stored locally in a client cache so similar requests from that application get their response from the local cache, rather than signaling the network.

In another embodiment, systems and methods of intelligent alarm tracker and resource manipulator can be used to reduce network requests by consolidating or changing the timing of requests such that use of resources including network, battery, CPU, memory and the like can be reduced.

In some embodiments, features of the signaling optimizer and the intelligent alarm tracker and resource manipulator may be used together to obtain reduce resource usage by mobile applications on a mobile device.

FIG. 2A depicts a diagram 200 illustrating example resources, including a network evaluation and selection engine 230 that is implemented as a component of a local-proxy 275. The local-proxy 275 may be a part of a distributed caching system (e.g., local-proxy 175 together with proxy server 125, FIG. 1A) that effects network resource conservation and application performance optimization. A mobile device 250 includes the network evaluation and selection engine 230, and a plurality of radio module 240. Each of the modules within the radio module 240 is able to connect to a particular network. For example, r radio module 240 includes a cellular radio module 240A can connect to a cellular network 106. Radio module 240 also includes other radio modules 240N (e.g., a WiFi module) that can connect to other types of network 180A-N (e.g., a WiFi network). As described in relation to FIG. 1A, network 106 and 108A-N may be connected to each other, either directly or indirectly, to form a larger network (e.g., network 10, FIG. 1A) such as the Internet.

For purposes of discussion, the application layer refers to a layer(s) that is above the transport layer. In some embodiments, the application layer can refer to Layer 7 of the Open System Interconnection (OSI) model; in other embodiments, it can refer to Layer 5 of the internet protocol suite (also known as “TCP/IP”) model. In any instance, the application layer is characterized as being the layer closest to the end user. Typically, both the application layer and the user (e.g., user 103, FIG. 1A) interact directly with the software application (e.g., applications 210, described below in FIG. 2C). Some examples of protocols of the application layer include NNTP, SIP, SSI, DNS, FTP, Gopher, HTTP, NFS, NTP, SMPP, SMTP, SNMP, Telnet, DHCP, and Netconf, and in some additional instances, TLS/SSL. Some examples of protocols of the transport layer include TCP, UDP, SCTP, DCCP, and SPX.

The embodiments disclosed herein recognize that the increase in the number and capabilities of mobile devices in recent years has created pressure on carriers to make the most of available wireless network resources. The embodiments disclosed herein also recognize that mobile devices (e.g., device 250) now have multimode of network capabilities. Device 250 is capable of communicating via different radio connections (e.g., through various hardware radio modules 240A-240N) with different communication networks 106 and 108A-N. Examples of such networks include cellular networks (e.g. GSM, GPRS, CDMA, 3G, 3.5G, WiMAX, LTE, 4G, etc.) or wireless broadband (e.g. WLAN or WiFi). According to some embodiments, device 250 can communicate with different communication networks during normal operation to optimize connection parameters.

As an example application of the present disclosed techniques, with multimode devices, operators seek to relieve the burden placed on overloaded mobile networks by offloading traffic to local WiFi networks, whether they are carrier-managed, public, or private. However, conventionally the operators lack adequate control to push traffic to WiFi, and suboptimal offloading decisions could lead to an adverse end-user experience. Without the proper tools in place to drive data traffic to alternative sources of wireless connectivity, the cellular data network remains overloaded while WiFi resources are underutilized. As such, the present disclosed techniques can provide such proper tool in determining when and which radio and/or network to select in order to provide the best user experience.

The present embodiments further recognize that it can be beneficial to measure the QoE from an application level, which can reduce the time to market as well as deployment to existing devices on the market because this approach generally requires no administrator permission (e.g., a root privilege) nor carrier or original equipment manufacturer (OEM) integration. In comparison, additional metrics which can be used to evaluate the QoE or user experience may include, for example, the amount of data traffic, quality of signal, power consumption characteristics of a particular network, battery status, network congestion, and so forth.

It is noted that some of these metrics use lower level (e.g., transportation layer, or internet layer) protocols and may require root privilege or OEM integration, thereby less than ideal because they are harder to deploy. Additionally, lower level protocols (e.g., TCP, or ICMP) may generally be more reflective of the network condition's perspective and less of an application's perspective; on the other hand, application layer protocols include process time and delays from specific system, and therefore they reflect more accurately on an application's actual experience of the network.

Accordingly, the present embodiments of mobile device 250 include the network evaluation and selection engine 230, which can enable data traffic offload from overburdened cellular networks to local WiFi networks, while optimizing offloading decisions to ensure a high-quality end user experience. The network evaluation and selection engine 230 includes, for example, a parameter measurement module 232, a quality determination module 234, a network switch module 236, and optionally, a network monitoring module 238, that can, alone or in any combination with the other modules, perform the network evaluation and selection techniques disclosed herein. According to some embodiments, the network evaluation and selection engine 230 can select the best radio (e.g., between Cellular radio 240A versus other radio 240N) and/or select the best network (e.g., among networks 108A-108N) based on the QoE determined by the techniques disclosed herein.

The network evaluation and selection engine 230 can, for example, quantify the user experience (e.g., by generating a quality of experience (QoE) number for a given network or networks) so that it can be used to select one or more radios (e.g., among network modules 240A-N) for data traffic offloading (e.g., to WiFi), selecting the best network (e.g., among different WiFi networks), gathering quality statistics of mobile networks at different time/location, or for a given application, and/or other suitable purposes.

For example, in some embodiments, the measured QoE can then be used to actively selectively enable one or more radios or radio modules on the mobile device in order to provide the optimal or the best user experience in general, and/or with respect to a specific conditions, for example, for a given application or most applications at certain times of day or days of week, etc. In another example, the measured QoE can then be used to select one or more networks. In yet some other embodiments, the measured QoE can be used to enable radios and/or selection of networks (e.g., the best Wi-Fi network available or accessible, or the best mobile/cellular network within accessible range, or among 3G/4G/LTE and WiFi networks).

The parameter measurement module 232 can measure a set of parameters for each of the available or otherwise accessible networks using an application layer protocol. In some instances, the set of parameters can be measured by communicating one or more servers within a respective network. These servers can include any (public, or in some instances, private) servers that are generally stable and constantly available, thereby suitable for use as a gauge of network performance. An example list of these servers include “www.yahoo.com”, “www.google.com”, and “www.cnn.com”.

More specifically, in accordance with some embodiments, the parameter measurement module 232 can make standard system calls from an application layer level (e.g., via HTTP, as compared to a transportation layer level such as TCP) to perform Round Trip Time (RTT) measurements. In addition to RTT, percentage of Packet Loss (PL) can also be computed from the application level, and then, in one embodiment, one or both of RTT and PL can serve as a basis to determine the Quality of experience (QoE) or other metrics measuring user experience. In one embodiment, the application layer protocol is able to establish communication with the servers without requiring an administrative privilege (e.g., root) of the mobile device.

In one or more embodiments, the RTT numbers can be measured by establishing an HTTP socket connection (e.g., with a server) for performing an “HTTP Ping.” Similar to a well-known TCP or ICMP Ping command, the HTTP Ping command which can be initiated by the parameter measurement module 232 which corresponds to a TCP three-way handshake protocol, including a “synchronize (SYN)” message, a “synchronize-acknowledgement (SYN-ACK)” message, and a “acknowledgement (ACK)” message. Such three-way handshake protocol is illustrated by way of example in FIG. 4. As illustrated in FIG. 4, an RTT number for a server can be calculated as the difference between the sent time of the SYN message and the receipt time of the SYN-ACK message. Additionally, every HTTP socket connection is followed by a socket close (e.g., FIN-ACK, ACK, etc.).

Further, in one embodiment, a transmitted packet (or message) can be considered “lost” if during an HTTP socket connection either a “Timeout” (e.g., one second for each HTTP socket connection) or an “I/O exception” occurs. A percentage or probability of Packet Loss (PL) can be, for example, calculated by the parameter measurement module 232 for each HTTP socket connection.

In some embodiments, for every period of QoE calculation, a Domain Name System (DNS) query is made by the parameter measurement module 232 (e.g., to translate a server's domain name into numerical IP addresses), and the DNS results can be stored on mobile device 250. In some embodiments, if the DNS query fails on any server, and if the DNS results from the last successful DNS query on the same radio are available, then the parameter measurement module 232 use those results to perform its QoE calculations. However, if the DNS query fails on all servers and there are no previous result, then the evaluation and selection engine 250 reports the QoE as “0” or “none”.

Moreover, some embodiments of the parameter measurement module 232 can perform a pseudo or a dummy HTTP Ping prior to the measuring to wake up a radio (e.g., cellular radio 240A) which corresponds to a respective network, and the results from this pseudo or dummy Ping is not measured. In some instances, dummy Pings can be sent to servers, and in one embodiment, one dummy Ping can be sent to each server. So, for example, if there are three servers (e.g., Yahoo, Google, CNN), then a total of three dummy Pings are sent. Notably, a Timeout period for a dummy Ping can be different than a Timeout period for an actual Ping from which RTT and/or PL results are measured. One example of a Timeout for each dummy Ping is 20 seconds, and an example of Timeout for each actual Ping is 1 second.

Then, in one or more embodiments, the parameter measurement module 232 sends out, for example, 5 Pings to each server. If there are, for example, three servers, then a total of 15 actual Pings are sent. Note that any number of servers can be used. Additionally or alternatively, the HTTP Pings can be sent by the parameter measurement module 232 to each server in a sequential manner (e.g., using a Round-Robin scheduling). Take the embodiment with three servers as an example, a first Ping can be sent to server A, a second Ping to server B, a third Ping to server C, a forth Ping to server A, and so forth.

After the parameter measurement module 232 gathers, for a given network, the Round-Trip Time (RTT) and/or Packet Loss (PL) parameters or other parameters for the applicable servers, the quality determination module 234 can determine, compute or assess a quality level or an overall quality level for the given networks based on the parameters. More specifically, in some embodiments, the quality determination module 234 first calculates a statistical parameter of the RTT and/or the PL, for example, a median RTT and an average PL (%) number for each server based on the readings (e.g., from the five actual Ping per server, or some other number of pings). It is noted that median RTT and average PL are example metrics which can be used to assess the quality of experience (QoE) or user experience and the like with an application at a mobile device for a specific network (e.g., to facilitate choosing among different WiFi networks, and/or different Cellular networks) or for a given radio (e.g., to facilitate choosing between WiFi versus Cellular); other suitable mathematical and/or statistical quantifiers can be computed or determined for evaluating quality of experience (QoE) or other types of user experience.

Then, with the median RTT and/or the average PL for one or each server, the quality determination module 234 can assign a specific quality level to the servers, for example, based on a quality table which is specific to the given network or radio. FIGS. 5A and 5B respectively depict two examples of such network specific quality tables: a table for a Cellular network or radio is depicted in FIG. 5A, and a table for a WiFi network or radio is depicted in FIG. 5B.

With the assigned specific quality level for each of the server within a given network, the quality determination module 234 can select from the assessed quality levels. In some embodiments, the quality level (QoE) selected is the highest or near the highest level out of the assessed quality levels. For the example with the three predetermined servers, the overall QoE is selected based on the best QoE out of the three specific QoEs of the three servers. For purposes of discussion herein, the term “highest” is measured in light of the assigned specific quality levels; for example, a QoE number of 5 is better than a QoE of 4, and a QoE of 4 is better than a QoE of 3, etc. In general, the shorter the RTT numbers and the smaller the PL numbers are, the better the network quality is. In some embodiments, it can thus be inferred that the quality of experience is higher when connected to the network; and the network and/or the radio used for connecting to the network can preferentially be selected, for example, in applicable circumstances (e.g., when a given mobile application is being used or at certain times of day, or days of the week, etc.).

Additionally or alternatively, the overall QoE can be converted, determined, assessed, or computed from the specific QoE numbers based on suitable formulas (e.g., as can in some instances be determined by carriers). In one example, the conversion formula is:

Specific QoE of (6 or 5)=Overall QoE of 2 (Good)

Specific QoE of (4 or 3)=Overall QoE of 1 (Usable)

Specific QoE of (2 or 1)=Overall QoE of 0 (Unusable)

Also, in some embodiments, QoE of 0 (Unusable) can be declared by the quality determination module 234 if the time to get QoE results takes more than some configurable amount of time (e.g., 15, 30, 60, 120 seconds).

In some embodiments, the QoE can be determined on an application-by-application basis on each mobile device or for each user.

The network switch module 236 can further choose the network (e.g., among the radio modules 240) based on the quality level of each network. It is noted that it is not necessary for the network switch module 236 to choose only one network over another network; some embodiments of the network switch module 236 can select more than one network for offering better user experience, offloading, and/or other suitable purposes.

More specifically, the network evaluation and selection engine 230 can employ the switch module 236 to switch network based on the above-said QoE assessment(s). In some embodiments, the switch can be among different networks under the same radio; in some embodiments, the switch can be among different networks across different radios.

For one example of switching network under the same radio, the engine 230 can switch from a 4G cellular network to a 3G cellular network under the same cellular radio module (even though, depending on the particular implementation of cellular radio chip, circuitry components and/or antennas that respectively in charge of 3G/4G connections may be different or the same). For another example, the engine 230 can switch from a cellular network offered by base station A to another cellular network offered by base station B under the same cellular radio module. For yet another similar example, the engine 230 can switch from one WiFi network offered by an access point A to another WiFi network offered by an access point B under the same WiFi radio module.

For one example of switching network across different radios, the engine 230 can switch from a 4G cellular network to a IEEE 802.11N WiFi network; and in doing so, the engine 230 can selectively switch from the cellular radio to the WiFi radio.

Furthermore, as additional or alternative embodiments, the network evaluation and selection engine 230 can continuously monitor the network condition and/or other parameters for network switching (e.g., Wi-Fi offloading) opportunities. As mentioned, evaluation and selection can measure the subscriber quality of experience (QoE) for available networks in real time or near real time to ensure a satisfactory subscriber experience.

This can be used actively by the mobile device 250 (e.g., via the local proxy 275) to make a decision to connect to the best radio (e.g., 3G/4G or Wi-Fi) and/or the best network (e.g., WiFi networks offered among different access points), or for use in WiFi offloading (e.g., by an operator). In addition, operators or carriers can further utilize the results from the QoE assessment of their mobile networks of cell towers at various times and/or at different locations.

In specific, the network evaluation and selection engine 230 can include a network monitoring module 238 which can perform the aforementioned measuring (e.g., of RTT and PL parameters) and determining (e.g., of specific and overall QoE numbers) periodically. In one embodiment, the network monitoring module 238 causes the network switch module 236 to perform the aforementioned choosing when an overall quality level of a previously selected network deteriorates by a level (e.g., below a certain number (such as drop to 2), below a certain degree (from usable to unusable), drops a certain percentage (by 33%), etc.). For example, the network monitoring module 238 determines that the overall quality level of a previously selected network has dropped from a usable level to an unusable level, then the aforementioned network evaluation and selection processes can be triggered.

In this way, among other advantages, embodiments disclosed herein enable a quantified approach to user experience estimation and application-level Quality of Experience (QoE) measurements, which can serve as bases for selection of networks for the applications. The embodiments disclosed herein also enjoy the benefits of reduced time to market as well as deployment to existing devices on the market.

Received Signal Strength Indicator (RSSI) Value

Some addition or alternative embodiments further recognize that it is desirable to differentiate two different scenarios—(1) where WiFi Quality of Experience (QoE) is deemed as unusable because of bad reception of radio signals (e.g., weak signal strength due to the mobile device's location, etc.), and (2) where WiFi Quality of Experience (QoE) is deemed as unusable because of other reasons, such as failure in a given access point's (AP) network backbone (e.g., being disconnected from the Internet due to technical difficulties)—so that the evaluation and selection engine 230 can improve on its decision making (e.g., as to which radio and/or network to select), which in turn helps to provide better user experience/policy.

Moreover, some of the abovementioned embodiments use “dummy Pings” before they perform QoE measurements to wake up the radio (e.g., if the data communication backbone to be measured is cellular network, the cellular radio should be awaken by the dummy Ping(s)). It would be beneficial if the engine 230 can be capable to identify that whether the current data traffic or the targeted data network to be measured is based on a cellular radio backbone or a WiFi radio backbone. In this way, for those data networks that are not based on cellular radio backbone, the engine 230 need not send out the dummy Pings before performing QoE measurement, thereby reducing the overall time to declare QoE numbers (e.g., in deciding whether a network's QoE is unusable).

Accordingly, some embodiments of the evaluation and selection engine 230 can further include a received signal strength indicator (RSSI) module 239, which can enable the engine 230 to use WiFi Access Point (AP) RSSI as an indicator to determine an “unusable” QoE for WiFi networks or radios. For one example benefit, this technique can take into account the location of mobile device 250 with respect to the AP(s) that is/are providing the WiFi network(s).

For purposes of discussion, it is generally known that in telecommunications field that received signal strength indicator (RSSI) is a measurement of the power level present in a radio signal as being received by an antenna. Therefore, for example, the higher the RSSI number (or less negative in some implementations), the stronger the signal. It is noted that RSSI is an example method of performing said identification. Other methods can be based on learning (e.g., from prior use or other indications) or some other suitable ways.

In particular, the following description assumes that RSSI value refers to that as received by the WiFi radio, and that RSSI value can be accessible via, for example, using an application programming interface (API) function call (e.g., as provided by an operating system's public library) to read a certain memory register's value, which may be automatically written by a wireless communication (e.g., WiFi) chip or chipsets. As such, the following description regarding applications of RSSI values in network evaluation and selection are discussed with respect to WiFi networks. However, a person having ordinary skill in the art will know that the disclosed techniques can be applied to other radios, such as cellular radios, in a similar manner described herein.

In some embodiments, a threshold RSSI level (threshold signal level) can be decided on a per-device basis (e.g., tailored to suit the device's specification or antenna profiles). Further, RSSI range can be converted (e.g., by an RSSI conversion module 239A) to different signal level between (0 . . . N) (e.g., via suitable methods such as using an Android API). Then, the RSSI can be compared against the threshold RSSI. In this way, for WiFi networks (or in some embodiments, other suitable networks with their corresponding RSSI's) that have RSSI below the threshold signal level (which can be determined based on experiments, experience, or other suitable factors) can be declared by the engine 230 as unusable.

Thereafter, those networks determined unusable based on the RSSI method can be treated differently for decision making. More details on how the RSSI module 239 can assist the evaluation and selection engine 230 in performing its functionalities are described below.

FIG. 2B depicts a diagram illustrating example resources including a radio selection engine that is implemented as a component of a local-proxy, which may be a part of a distributed caching system that effects network resource conservation and application performance optimization. The radio evaluation and selection engine 231 includes similar modules as those in the network evaluation and selection engine 230. The radio evaluation and selection engine 231 includes a radio switch module 236A and a radio monitoring module 238A for radio selection. Adapting similar evaluation and QoE determination techniques as described above with respect to the network evaluation and selection engine 230, the radio evaluation and selection engine 231 can use a quantified approach to user experience estimation and application-level Quality of Experience (QoE) measurements, which can serve as bases for selection of radios for the applications.

FIG. 2C depicts another example diagram illustrating the network evaluation and selection engine 230 of FIG. 2A and the radio evaluation and selection engine 231 of FIG. 2B being implemented in some embodiments where the local-proxy 275 can be optional.

Applications 210 (e.g., applications 210A-210N) are example applications of the mobile device 250. Applications 102 on mobile device 250 can communicate with the application servers 110 (see FIG. 1A) via the networks 106 and 108A-N. Some examples of applications 210 include news application, weather services, web browsers with multimedia capabilities, video-sharing applications, online radio and music stations, video-on-demand services, and/or social network applications. In general, each application 210 receives a plurality of data (e.g., audio streams or video clips) relevant or necessary to the operations (e.g., foreground and/or background operations) of the application from the application servers 110.

In addition to the above described functions of the network evaluation and selection engine 230, in some embodiments, the embodiments of local proxy 275 can enable carriers with policy-based control of offloading decisions (e.g., performed by the engine 230) by allowing the carriers to control and manage the policies (e.g., quality tables, quality level formulas, etc.) through suitable means. Examples of such suitable means can include communications through the aforementioned proxy servers or other suitable components. In one example, the aforementioned quality tables and formulas for quality calculations can be defined/downloaded from the proxy server. These carrier-defined offloading policies can be enforced at the source of data traffic—the mobile client 250 (e.g., via the engine 230). In this way, the local proxy 275 identifies and takes advantage of offloading opportunities as they become available, thereby creating more available resources by directing subscribers to local WiFi networks to fulfill their mobile data requirements. As such, carrier costs can be reduced because more traffic is directed to lower-cost WiFi resources, rather than relying on higher-cost cellular network resources.

In some embodiments, network evaluation and selection engine 230 (e.g., in conjunction with the local proxy 275) can further include multiple configurable parameters including security, data usage, application context, battery life, speed/quality of connection, location, and time of day in considering the QoE ratings.

As such, among other benefits, the local proxy 275 implementing the present disclosed techniques can enhance end-user quality of experience, increase WiFi offload utilization, empower carriers with policy-based control, and deliver insight into mobile client behavior, improve network capacity utilization.

FIG. 3A depicts a functional block diagram illustrating example components of a mobile device 350 including a local proxy 375 having a network evaluation and selection engine 330. The mobile device 350 further includes either accessible or installed thereon mobile application(s) 210 (see FIG. 2B), and a radio interface 340 including a plurality of network modules, each operable to connect to and communicate with networks 106 and 108A-N. Examples of the radios in the radio interface 340 include a cellular radio, a Bluetooth radio, and/or a WLAN (WiFi) radio. In one embodiment, the mobile device 350 also includes an RFID based near-field communication chip. The local proxy 375 can function as an intermediate stage or interface between the networks 106 and/or 108A-N and the mobile application(s) 210 on the mobile device 350. Overall, the mobile device 350 can communicate with any application server 110 for exchanging data (e.g., directly or through host server 100, see FIG. 1A).

The network evaluation and selection engine 330 includes a parameter measurement module 332, a quality determination module 334, and a server list 336. For simplicity, other modules such as the aforementioned network switch module and network monitoring module are not depicted in FIG. 3A.

FIG. 3B depicts an additional example of the network evaluation and selection engine 330 of FIG. 3A which further includes an received signal strength indicator (RSSI) module 339. Some example components of the RSSI module 339 can include an RSSI conversion module 339A, a threshold RSSI module 339B, an access point (AP) identifier module 339C, a timer 339D, a triggering event monitor 339E, and an RSSI monitor 339F.

As aforementioned, it would be beneficial if the engine 330 is capable to identify whether an unusable QoE is caused by location of the mobile device (e.g., so that it suffers from weak reception), or is caused by reasons other than the location of the mobile device (e.g., like network outage or other technical difficulties taking place on the access point that provides the mobile device with the radio network). Further, it would be also beneficial if the engine 330 is capable of identifying whether the current data traffic or the targeted data network to be measured is based on a cellular radio backbone or a WiFi radio backbone. Accordingly, the RSSI module 339 can enable the engine 330 to use WiFi Access Point (AP) RSSI as an indicator on which many decisions the engine 330 makes can be based.

As illustrated in FIG. 3B, example components of the RSSI module 339 includes an RSSI conversion module 339A, a threshold RSSI module 339B, an AP identifier module 339C, a timer 339D, a triggering event monitor 339E, and an RSSI monitor 339F.

First, in some embodiments, a quality level (e.g., QoE) for the network that the mobile device 350 is currently connected is determined by the engine 330. The engine 330 can use any of the one or more methods discussed above (e.g., QoE probing using Pings and/or other mechanisms) to determine QoE for the network, and to see whether the QoE is “unusable.”

Additionally or alternatively, the engine 330 can utilize the RSSI module 339 to determine whether a QoE for WiFi networks or radios is “unusable.” Specifically, in some embodiments, a RSSI quality threshold (or a threshold signal level) can be recorded in or determined by the RSSI threshold module 339B on a per-device basis (e.g., tailored to suit the device's specification or antenna profiles). Either the value of the RSSI quality threshold or the metrics for determining thereof or both can be decided (e.g., from a manufacturer of the mobile device 350), configured (e.g., by a user), communicated (e.g., from an administrator), or other suitable means (e.g., using experiments, experience, etc.) can be stored and/or executed by the RSSI threshold module 339B.

Further, the RSSI conversion module 339A in the RSSI module 339 can convert the RSSI range to different signal level between (0 . . . N). This can be done via suitable methods such as using an Android API to perform function calls. Then, the RSSI module 339 can compare the RSSI level readout from the RSSI conversion module 339A with the RSSI quality threshold from the RSSI threshold module 339B. In this way, for WiFi networks (or in some embodiments, other suitable networks with their corresponding RSSI's) that have RSSI below the threshold signal level can be declared by the engine 230 as “unusable.” In some embodiments, the threshold can be specific to hardware characteristics. For example, the threshold module 339B may contain various thresholds that correspond to different wireless network chipset makers.

After determining that the QoE is unusable, according to one or more embodiments disclosed herein, the RSSI module 339 can bring enhancements to following scenarios:

(1) Locational Degradation in WiFi Quality

The present embodiments recognize that the location of the mobile device 350 from the AP that provides the network can impact QoE computations for that AP. For example, if a user walks out of range of a WiFi network, the user can become located in the “grey area” of WiFi reception (such as illustrated in FIG. 8A), which can result in an “useable” QoE.

In this scenario, the RSSI module 339 can assist the engine 330 in adopting RSSI as a parameter in QoE computation. Specifically, after QoE computation, the RSSI module 339 enables the engine 330 use a received signal strength threshold in the decision making process. This can enable the engine 330 to selectively respond differently when an unusable QoE is possibly or probably caused by bad reception or weak signal of WiFi at that particular location of the mobile device 350 (as opposed to problems in the backbone of the AP providing the network). In particular, the RSSI module 339 can assist the engine 330 to identify whether the below-threshold QoE level is caused (or substantially caused) by the location of the mobile device 350 (e.g., at a corner with bad reception).

The received signal strength threshold can be provided by the RSSI threshold module 339B in a manner similar to how the RSSI QoE threshold or quality threshold is provided. It is noted that, depending on the embodiment, the received signal strength threshold and the quality threshold can be the same value or two different values. Similarly, these two thresholds can be determined by the same, similar, or different methodologies. In some embodiments, these two thresholds may be correlated to each other.

More specifically, the RSSI readouts from the previously said RSSI conversion module 339A can be used by the RSSI module 339 (or the engine 330) for comparison with the received signal strength threshold. According to some embodiments, the RSSI module 339 can further identify the cause of the unusable QoE as the location of the mobile device 350 if the RSSI readout is below the received signal strength threshold. Similarly, the RSSI module 339 can further identify the cause of the unusable QoE as not the location of the mobile device 350 if the RSSI readout is not below the received signal strength threshold. Then, the engine 330 can selectively respond to the unusable QoE situation according to the identified cause.

It is noted that the techniques introduced herein with regard to identifying the cause of unusable QoE using the RSSI module 339 are not meant to be exhaustive, and that the present embodiments can include other suitable methods of identifying whether the location and/or movement of the mobile device 350 may be the cause of the below-threshold QoE of the network. Some examples of such other suitable methods may include RTT value calculations (e.g., obtained through above-said Pings sent by the engine 330), GPS data, etc.

In one or more embodiments, if the identified cause is the location (e.g., if the radio signal strength received at the mobile device 330 as indicated by the RSSI conversion module 339A is lower than the received signal strength threshold as indicated by the threshold RSSI module 339B), then the engine 330 can suspend (e.g., prevent connection to) the AP based on its RSSI; that is to say, if the identified cause is the location, then embodiments of the engine 330 can suspend AP based on RSSI. Specifically, in some embodiments, the engine 330 can suspend a unique identifier, such as a service set identifier (SSID), of the network, so that connecting to the AP in question is at least temporarily avoided until the user becomes back within an acceptable RSSI range again (e.g., as determined by comparing with the RSSI threshold). This can bring the benefit of reducing or eliminating the problem of connecting to a network with an unusable QoE when the cause is bad reception.

If the identified cause is not the location (e.g., if the radio signal strength received at the mobile device 330 as indicated by the RSSI conversion module 339A is not lower than the received signal strength threshold as indicated by the threshold RSSI module 339B), then the engine 330 can suspend the AP by its media access control (MAC) address or identifier; that is to say, in some embodiments, the engine 330 can suspend the AP itself (e.g., by MAC-ID) which provides the network, and not the network (e.g., by its SSID).

Further, when user's movement improves WiFi RSSI readout, the engine 330 may consider the AP in question as a valid connectivity choice again.

For the example illustrated in FIG. 8A, if the user's location moves from strong RSSI to weak RSSI (e.g., in the “grey area”), then the RSSI level readout can drop below the threshold signal level; if a QoE check (e.g., discussed above) at that point gives an unusable QoE, then the engine 330 may not consider the AP in its network selection (e.g., blocking or ignoring its SSID) until the RSSI readout of that AP comes again above the threshold. Such task of monitoring the RSSI can be performed by, for example, the RSSI monitor module 339F.

(2) Wi-Fi AP Suspension Based on MAC-ID (e.g., as Opposed to SSID)

In some of the above mentioned QoE embodiments (e.g., engine 330 as illustrated in FIG. 3A which is without the RSSI module 339), AP can be suspended based on SSID. Indeed, suspending a network by its SSID typically may involve less communication (e.g., to discover the MAC address of the AP) from an application's perspective. However, this can mean that the user cannot connect to any other available AP with the same SSID in this period (e.g., multiple AP(s) with same SSID such as in a corporate environment, described below in section (3) and with reference to FIG. 8B).

With the RSSI module 339A, the engine 330 can selectively perform MAC-ID (also known as basic service set identifier (BSSID), as compared to SSID) based suspension. More specifically, since MAC-ID is a unique parameter for each AP (e.g., as opposed to SSID), when the AP in question is suspended based on MAC-ID, the engine 330 can make sure that the user can still connect to any other AP broadcasting network signals with the same SSID as the that of the network of the suspended AP.

Additionally, with RSSI module 339 the engine 330 can also ensure that, when any of the AP(s) configuration changes (e.g., when an AP changes the SSID of its network), the AP with altered configuration is not considered as a new AP but associated with an existing one, thereby eliminating duplicates (e.g., in performing the aforementioned network evaluation and selection processes).

(3) Handling Multiple WiFi Networks Provided by Multiple AP(s) with Same SSID (e.g., in a Corporate Environment)

The present embodiments can also help with the WiFi roaming problem where multiple APs of same SSID exist and user can roam between different APs. If the user comes into a zone where the QoE becomes unusable and the received signal strength level is below threshold, the engine 330 can perform a handover to another AP with same SSID and with highest signal level.

In particular, the present embodiments recognize a problem in a “WiFi roaming” case, where the user is originally connected to an AP with good RSSI, but then moves away from AP and experiences the RSSI readout dropping low, but the user has not received a handover to another AP with same SSID. Typically, the mobile device 350 would remain connected to the original AP with bad RSSI, and if the QoE becomes unusable, then all APs with same SSID may get suspended (e.g., at least temporarily). Such scenario is illustrated in FIG. 8B. In the example illustrated in FIG. 8B, the user walks from a connected WiFi AP (e.g., AP1) to another WiFi AP with same SSID (e.g., AP2).

According to some embodiments, if the QoE of connected AP1 becomes unusable, and the RSSI readout drops below the threshold signal level, then the engine 330 can handover to AP2, which is with same SSID and with the highest signal level at that point.

When WiFi QoE becomes unusable, the RSSI module 339 can determine (e.g., via the AP identifier module 339C) whether there are multiple APs providing networks with same SSID. If so, then the RSSI module 339 can measure (e.g., via the RSSI conversion module 339A) the RSSI readouts for each of the multiple available networks with the same SSID. Thereafter, the RSSI module 339 can check if the mobile device 350 is currently connected to the AP with maximum RSSI readout among the APs with same SSID.

More specifically, similar to the techniques described above, the RSSI module 339 can identify whether the below-threshold or unusable QoE is caused (or substantially) by a location or movement of the mobile device 350. In some embodiments, the RSSI module 339 can be configured to identify the cause of unusable QoE as the location of the mobile device 350 if a network with maximum RSSI readout is not connected. The RSSI module 339 can be further configured to identify the cause of unusable QoE as not the location if a network with maximum RSSI readout is already connected. Then, the engine 330 can selectively switch among the available networks according to the identified cause.

Again, it is noted that the techniques introduced herein with regard to identifying the cause of unusable QoE using the RSSI module 339 are not meant to be exhaustive, and that the present embodiments can include other suitable methods of identifying whether the location and/or movement of the mobile device 350 may be the cause of the below-threshold QoE of the network. Some examples of such other suitable methods may include RTT value calculations (e.g., obtained through above-said Pings sent by the engine 330), GPS data, etc.

In some embodiments, if the identified cause is the location of the mobile device 350 (e.g., if the network with maximum RSSI readout is not connected, such as illustrated in FIG. 8B), then the engine 330 can connect to the AP with the maximum RSSI readout. On the other hand, if the identified cause is not the location of the mobile device 350 (e.g., if the network with maximum RSSI readout is already connected), then the engine 330 can perform the MAC-ID based suspension (such as described in section (2) above).

(4) RSSI Triggered QoE

As previously mentioned, the present embodiments can also trigger the engine 330 to perform QoE probing when the (RSSI) signal level of connected WiFi AP goes below threshold signal level.

Specifically, in the some of the abovementioned QoE embodiments (e.g., engine 330 as illustrated in FIG. 3A which is without the RSSI module 339), QoE probing can be triggered based on, for example, a configurable timer or an triggering event (e.g., a connection change). It is recognized by the present embodiments that it would be beneficial to take user's mobility into consideration.

Accordingly, with the RSSI module 339A, the engine 330 can be provided with RSSI readings (e.g., through the RSSI conversion module 339A and/or RSSI monitor 339F) as a QoE trigger (e.g., from a comparison with the WiFi RSSI threshold). For example, the engine 330 can trigger QoE probing when device crosses (e.g., drops below or climbs above) a threshold WiFi RSSI value. Then, the engine 330 can act based on the QoE result. In this way, when user(s) moves out of an acceptable range of WiFi, triggering QoE probing ensures minimal user experience disruption and smoother/dynamic hand off. In some embodiments, this technique can also be used in lieu of sending out Pings for WiFi, and in some embodiments, this also reduces or removes the need to send out dummy Pings to wake up radios during WiFi situations.

The RSSI module 339 also includes the timer module 339D and the triggering event monitor 339E, which can respectively assist the RSSI module 339 in reevaluating the RSSI readout and/or the engine 330 in reevaluating the QoE measurements/determinations.

FIG. 6A depicts a flow chart illustrating an example flow 600 for the network evaluation and selection techniques disclosed herein. With additional reference to FIGS. 2A and 3A-3B, flow 600 is explained.

To select a preferable network for mobile applications 210 (e.g., for performance, offloading, statistics gathering, and/or other suitable purposes), the network evaluation and selection engine 230, 330 is to determine an over quality of experience (QoE) number for each network of interest.

First, the parameter measurement module 332 in the network evaluation and selection engine 230, 330 measures (610) a set of parameters for each of the available networks using an application layer protocol. In some instances, the set of parameters are measured (612) by communicating with each of a plurality of servers within a respective network. For example, to determine the overall QoE number for WiFi, the parameter measurement module 332 includes an HTTP Ping module 333 to send out Ping commands (e.g., with handshaking such as illustrated in FIG. 4) to each server on a server list 336. In one or more embodiments, the parameter measurement module 332 sends out multiple pings (e.g., 5 Pings) to each server.

Then, the RTT monitor and PL monitor in the HTTP Ping module 333 can measure Round Trip Time (RTT) times and Packet Loss (PL) percentage numbers based on those multiple (e.g., 5) Pings to each server. Additionally or alternatively, the HTTP Pings module 333 can send the Ping messages to each server using Round-Robin scheduling.

Next, the quality determination module 334 determines (620) an overall quality level for each of the available networks based on the parameters. Thereafter, the network switch module 336 chooses (630) one or more networks (e.g., among the modules 240) based on the overall quality level of each network.

FIG. 6B depicts a flow chart illustrating an example flow for radio evaluation and selection; depicts a flow chart illustrating an example flow 600A for the radio evaluation and selection techniques disclosed herein. With additional reference to FIGS. 2B and 3A-3B, flow 600A is explained.

To select a preferable radio for mobile applications 210 (e.g., for performance, offloading, statistics gathering, and/or other suitable purposes), the radio evaluation and selection engine 231 is to determine an over quality of experience (QoE) number for each radio of interest.

First, the parameter measurement module in the radio evaluation and selection engine 231 measures (610A) a set of parameters for each of the available radios using an application layer protocol. In some instances, the set of parameters are measured (612A) by communicating with each of a plurality of servers within a respective radio. For example, to determine the overall QoE number for WiFi, the parameter measurement module includes an HTTP Ping module to send out Ping commands (e.g., with handshaking such as illustrated in FIG. 4) to each server on a server list. In one or more embodiments, the parameter measurement module sends out multiple pings (e.g., 5 Pings) to each server.

Then, the RTT monitor and PL monitor in the HTTP Ping module can measure Round Trip Time (RTT) times and Packet Loss (PL) percentage numbers based on those multiple (e.g., 5) Pings to each server. Additionally or alternatively, the HTTP Pings module can send the Ping messages to each server using Round-Robin scheduling.

Next, the quality determination module determines (620A) an overall quality level for each of the available radios based on the parameters. Thereafter, the radio switch module 236A chooses (630A) one or more radios (e.g., among the radio modules 240) based on the overall quality level of each radio.

FIG. 7 depicts a flow chart 700 of illustrating additional or alternative details of the example flow 600 of FIG. 6. With additional reference to FIGS. 2A, 2B and 3, flow chart 700 is explained. Steps 610/610A and 630/630A are the same as what are described above.

Some embodiments of the parameter measurement module 332 can transmit (710) a pseudo or a dummy HTTP Ping message prior to the measuring to wake up a radio (e.g., cellular radio 240A) which corresponds to a respective network, and the results from this pseudo or dummy Ping is not measured. In some implementations, one dummy Ping is performed per server.

In some embodiments, to perform the aforementioned step 620, the quality determination module 334 can assign (720) a specific quality level to one or more servers within the respective network based on a quality table which is specific to the respective network. For example, a quality calculator module 335A within the quality determination module 334 can calculate a median RTT and/or an average PL (%) number for one or more servers based on the readings. Then, with the median RTT and the average PL for one or more servers, the quality determination module 334 assigns (720) a specific quality level to each of the servers based on a quality table 335B which is specific to the given network (e.g., as tables illustrated in FIGS. 5A-5B).

With the assigned specific quality level for each of the server within a given network, the quality determination module 334 then selects (725) a quality level from the assessed quality levels. In some embodiments, the quality level (QoE) selected is the highest or of a higher level out of the assessed quality levels. Additionally or alternatively, the overall QoE can be converted or computed from the specific QoE numbers based on suitable or efficient formulas.

In some embodiments, the network evaluation and selection engine 230 or the radio evaluation and selection engine 231 can repeat (740) the aforementioned measuring (e.g., of RTT and PL parameters) and determining (e.g., of specific and overall QoE numbers) periodically. In one embodiment, the network evaluation and selection engine 230 performs (750) the aforementioned network selection when the quality level of a previously selected network deteriorates. In another embodiment, the radio evaluation and selection engine 231 performs (750) the aforementioned radio selection when the quality level of a previously selected radio deteriorates.

FIG. 9 depicts a flow chart illustrating an example flow 900 for network evaluation and selection based on/assisted by the RSSI module 339. The example flow 900 is described with reference to FIG. 3B. It is noted that the example flow 900 can be adapted for radio evaluation and selection as well.

First, the network evaluation and selection engine 330 determines (910) a QoE for a network and/or a radio in the manners described above (e.g., with regard to FIGS. 3A, 3B, 5A and 5B). In addition to what are mentioned above, in some embodiments, QoE measurements can be triggered (910) by a QoE probing timer (e.g., the timer 339D), an RSSI level fluctuation or deterioration (e.g., as detected by the RSSI monitor 339F), or other suitable events (e.g., as detected by the triggering event monitor 339E). Some examples of triggering events may include a movement or relocation of the mobile device.

After the QoE is determined, the engine 330 compares (920) it against a threshold QoE (e.g., that is determined by or entered in the threshold RSSI module 339B). The threshold QoE can be specific to types or networks. After the comparison, if the QoE is determined to be good/usable, then no action is required.

If the QoE is determined unusable, then the number of AP with the same SSID can be identified (930) (e.g., by the AP identifier module 339C).

If there is no multiple AP with the same SSID in range, then if the RSSI value determined (940) for a network (e.g., as hosted by an AP) is less than the threshold RSSI value (e.g., as documented by the threshold RSSI module 339B), then the engine 330 can suspend (950) the AP based on the RSSI, which effectively suspends the AP's network based on the network's SSID. If the RSSI value determined (940) for the network is not less than the threshold RSSI value, then the engine 330 can suspend (960) the AP based on the MAC address, which effectively suspends the AP's network based on the device-specific MAC ID.

If there are multiple APs with the same SSID in range, then the RSSI module 339 obtains (970) (e.g., via the RSSI conversion module) all RSSI values for each of the multiple APs. Then, the engine 330 determines (980) if the AP with the maximum RSSI value is connected.

If the AP with the maximum RSSI value is already connected, then the engine 330 can suspend (960) the AP based on the MAC address.

If the AP with the maximum RSSI value is not already connected, then the engine 330 connects (980) to the AP with the maximum RSSI value. Then, in some embodiments, the engine 330 can go back to the QoE determination step after another suitable trigger (e.g., QoE probing timer, RSSI deterioration, and/or other suitable triggering events).

FIG. 10 shows a diagrammatic representation of a machine in the example form of a computer system within which a set of instructions, for causing the machine to perform any one or more of the methodologies discussed herein, may be executed.

In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client machine in a client-server network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

The machine may be a server computer, a client computer, a personal computer (PC), a user device, a tablet PC, a laptop computer, a set-top box (STB), a personal digital assistant (PDA), a cellular telephone, an iPhone, an iPad, a Blackberry, a processor, a telephone, a web appliance, a network router, switch or bridge, a console, a hand-held console, a (hand-held) gaming device, a music player, any portable, mobile, hand-held device, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine.

While the machine-readable medium or machine-readable storage medium is shown in an exemplary embodiment to be a single medium, the term “machine-readable medium” and “machine-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database and/or associated caches and servers) that store the one or more sets of instructions. The term “machine-readable medium” and “machine-readable storage medium” shall also be taken to include any medium that is capable of storing, encoding or carrying a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the presently disclosed technique and innovation.

In general, the routines executed to implement the embodiments of the disclosure may be implemented as part of an operating system or a specific application, component, program, object, module or sequence of instructions referred to as “computer programs.” The computer programs typically comprise one or more instructions set at various times in various memory and storage devices in a computer that, when read and executed by one or more processing units or processors in a computer, cause the computer to perform operations to execute elements involving the various aspects of the disclosure.

Moreover, while embodiments have been described in the context of fully functioning computers and computer systems, those skilled in the art will appreciate that the various embodiments are capable of being distributed as a program product in a variety of forms, and that the disclosure applies equally regardless of the particular type of machine or computer-readable media used to actually effect the distribution.

Further examples of machine-readable storage media, machine-readable media, or computer-readable (storage) media include but are not limited to recordable type media such as volatile and non-volatile memory devices, floppy and other removable disks, hard disk drives, optical disks (e.g., Compact Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs), etc.), among others, and transmission type media such as digital and analog communication links.

Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense; that is to say, in the sense of “including, but not limited to.” As used herein, the terms “connected,” “coupled,” or any variant thereof, means any connection or coupling, either direct or indirect, between two or more elements; the coupling of connection between the elements can be physical, logical, or a combination thereof. Additionally, the words “herein,” “above,” “below,” and words of similar import, when used in this application, shall refer to this application as a whole and not to any particular portions of this application. Where the context permits, words in the above Detailed Description using the singular or plural number may also include the plural or singular number respectively. The word “or,” in reference to a list of two or more items, covers all of the following interpretations of the word: any of the items in the list, all of the items in the list, and any combination of the items in the list.

The above detailed description of embodiments of the disclosure is not intended to be exhaustive or to limit the teachings to the precise form disclosed above. While specific embodiments of, and examples for, the disclosure are described above for illustrative purposes, various equivalent modifications are possible within the scope of the disclosure, as those skilled in the relevant art will recognize. For example, while processes or blocks are presented in a given order, alternative embodiments may perform routines having steps, or employ systems having blocks, in a different order, and some processes or blocks may be deleted, moved, added, subdivided, combined, and/or modified to provide alternative or sub-combinations. Each of these processes or blocks may be implemented in a variety of different ways. Also, while processes or blocks are at times shown as being performed in series, these processes or blocks may instead be performed in parallel, or may be performed at different times. Further any specific numbers noted herein are only examples: alternative implementations may employ differing values or ranges.

The teachings of the disclosure provided herein can be applied to other systems, not necessarily the system described above. The elements and acts of the various embodiments described above can be combined to provide further embodiments.

Any patents and applications and other references noted above, including any that may be listed in accompanying filing papers, are incorporated herein by reference. Aspects of the disclosure can be modified, if necessary, to employ the systems, functions, and concepts of the various references described above to provide yet further embodiments of the disclosure.

These and other changes can be made to the disclosure in light of the above Detailed Description. While the above description describes certain embodiments of the disclosure, and describes the best mode contemplated, no matter how detailed the above appears in text, the teachings can be practiced in many ways. Details of the system may vary considerably in its implementation details, while still being encompassed by the subject matter disclosed herein. As noted above, particular terminology used when describing certain features or aspects of the disclosure should not be taken to imply that the terminology is being redefined herein to be restricted to any specific characteristics, features, or aspects of the disclosure with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the disclosure to the specific embodiments disclosed in the specification, unless the above Detailed Description section explicitly defines such terms. Accordingly, the actual scope of the disclosure encompasses not only the disclosed embodiments, but also all equivalent ways of practicing or implementing the disclosure under the claims.

While certain aspects of the disclosure are presented below in certain claim forms, the inventors contemplate the various aspects of the disclosure in any number of claim forms. For example, while only one aspect of the disclosure is recited as a means-plus-function claim under 35 U.S.C. §112, ¶6, other aspects may likewise be embodied as a means-plus-function claim, or in other forms, such as being embodied in a computer-readable medium. (Any claim intended to be treated under 35 U.S.C. §112, ¶6 begins with the words “means for.”) Accordingly, the applicant reserves the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the disclosure. 

What is claimed is:
 1. A method for network evaluation comprising: measuring a set of parameters using an application and/or transport layer protocol for one or more available networks; determining a quality level for the one or more available networks based off of the measured parameters; selecting a radio associated with an available network based on the determined quality level for the one or more available networks; repeating measuring the set of parameters and determining a quality level; and when the determined quality level is below a quality threshold, selecting a subsequent radio associated with a subsequently available network.
 2. The method of claim 1, wherein, if the determined quality level is below a quality threshold: identifying whether the below-threshold quality level is substantially caused by a location of the mobile device; preventing the mobile device from connecting to the network according to the identified cause.
 3. The method of claim 1, wherein the quality level is determined by measuring a set of parameters for available networks accessible by a number of available radio modules on the mobile device using an application layer protocol, and wherein the set of parameters includes a round-trip time (RTT) and packet loss (PL) percentage.
 4. The method of claim 2, wherein the identification of cause for the below-threshold quality level is based on measuring radio signal strength received at the mobile device.
 5. The method of claim 4, further comprising: comparing the radio signal strength with a signal strength threshold; if the radio signal strength is below the signal strength threshold, identifying the cause as the location; if the radio signal strength is not below the signal strength threshold, identifying the cause as not the location.
 6. The method of claim 5, further comprising: if there are multiple access points providing a plurality of networks with a same unique identifier: measuring a respective radio signal strength received for the plurality of networks; determining whether a network with maximum radio signal strength is connected.
 7. The method of claim 6, further comprising: if the network with maximum radio signal strength is not connected, connecting to the network with maximum radio signal strength; if the network with maximum radio signal strength connected, preventing connection to the access point which provides the network with maximum radio signal strength.
 8. The method of claim 1, wherein the thresholds are specific to hardware characteristics of the mobile device.
 9. The method of claim 1, wherein the quality level is determined by a local proxy on the mobile device.
 10. The method of claim 9, wherein the local proxy is non-native to an operating system of the mobile device, and wherein the local proxy and the remote proxy are parts of a distributed proxy and cache system which facilitates network and mobile traffic management.
 11. A mobile device that is configured to select a radio from a number of available radio modules on a mobile device for communication, the device comprising: one or more processors; memory circuitry coupled to the processors and having stored thereon instructions which, when executed by at least one of the processors, cause the mobile device to: measure a set of parameters using an application and/or transport layer protocol for one or more available networks; determine a quality level for the one or more available networks based off of the measured parameters; select a radio associated with an available network based on the determined quality level for the one or more available networks; repeat measuring the set of parameters and determining a quality level; and when the determined quality level is below a quality threshold, select a subsequent radio associated with a subsequently available network.
 12. The mobile device of claim 11, wherein, if the determined quality level is below a quality threshold, the memory circuitry causes the mobile device to: identify whether the below-threshold quality level is substantially caused by a location of the mobile device; prevent the mobile device from connecting to the network according to the identified cause.
 13. The mobile device of claim 11, wherein the quality level is determined by measuring a set of parameters for available networks accessible by a number of available radio modules on the mobile device using an application layer protocol, and wherein the set of parameters includes a round-trip time (RTT) and packet loss (PL) percentage.
 14. The mobile device of claim 12, wherein the identification of cause for the below-threshold quality level is based on measuring radio signal strength received at the mobile device.
 15. The mobile device of claim 14, wherein the memory circuitry causes the mobile device to: compare the radio signal strength with a signal strength threshold; if the radio signal strength is below the signal strength threshold, identify the cause as the location; if the radio signal strength is not below the signal strength threshold, identify the cause as not the location.
 16. The mobile device of claim 15, further comprising: if there are multiple access points providing a plurality of networks with a same unique identifier, the memory circuitry causes the mobile device to: measure a respective radio signal strength received for the plurality of networks; determine whether a network with maximum radio signal strength is connected.
 17. The mobile device of claim 16, wherein the memory circuitry further causes the mobile device to: connect to the network with maximum radio signal strength when the network with maximum radio signal strength is not connected; prevent connection to the access point which provides the network with maximum radio signal strength when the network with maximum radio signal strength connected.
 18. The mobile device of claim 11, wherein the thresholds are specific to hardware characteristics of the mobile device.
 19. The mobile device of claim 11, wherein the quality level is determined by a local proxy on the mobile device.
 20. The mobile device of claim 19, wherein the local proxy is non-native to an operating system of the mobile device, and wherein the local proxy and the remote proxy are parts of a distributed proxy and cache system which facilitates network and mobile traffic management. 